package com.example.review;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.NotificationCompat;

import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class chapterEightActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chapter_eight);
        Button buttonTc8=findViewById(R.id.to_notification);
        buttonTc8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(chapterEightActivity.this,chapterEight2Activity.class);
                startActivity(intent);
            }
        });

        Button buttonTc=findViewById(R.id.to_takepic);
        buttonTc.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(chapterEightActivity.this,chapterEight3Activity.class);
                startActivity(intent);
            }
        });


        Button buttonTc3=findViewById(R.id.to_mp3);
        buttonTc3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(chapterEightActivity.this,chapterEight4Activity.class);
                startActivity(intent);
            }
        });

        Button buttonTc4=findViewById(R.id.to_play_video);
        buttonTc4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(chapterEightActivity.this,chapterEight5Activity.class);
                startActivity(intent);
            }
        });


    }
}